Automatically configurable minute ventilation sensor

ABSTRACT

A minute ventilation sensing device in which transthoracic impedance is measured with voltage sense electrodes during injection of current by excitation current electrodes. The device is capable of operating with different configurations of voltage sense and excitation current electrodes. By computing a signal and/or noise level for a number of available configurations, the electrodes resulting in the highest signal-to-noise ratio may be selected for use by the device.

CROSS-REFERENCE TO RELATED APPLICATIONS

This application is a continuation of U.S. application Ser. No. 10/735,598, filed Dec. 12, 2003, now issued as U.S. Pat. No. 7,272,442, which claims the benefit of U.S. Provisional Application Ser. No. 60/437,356, filed Dec. 30, 2002, under 35 U.S.C. 119(e).

FIELD OF THE INVENTION

This invention pertains to implantable medical devices such as cardiac pacemakers. In particular, the invention relates to a device and method for improved sensing of physiological variables by impedance measurements.

BACKGROUND

Implantable medical devices are commonplace today for treating cardiac dysfunction. Cardiac pacemakers, for example, are implantable medical devices that replace or supplement a heart's compromised ability to pace itself (i.e., bradycardia) due to chronotropic incompetence or a conduction system defect by delivering electrical pacing pulses to the heart. Pacemakers can deliver pacing pulses asynchronously at a fixed rate or synchronously in a manner that depends upon sensed intrinsic beats. Most pacemakers today are operated in some sort of synchronous mode where the pacing pulses are delivered upon the expiration of escape intervals that are reset by sensed intrinsic depolarizations of the heart. The pacing rate is then determined by the programmed escape intervals of the pacemaker and is referred to as the lower rate limit or LRL in the case of ventricular pacing.

In chronotropically competent patients in need of ventricular pacing, atrial triggered modes where ventricular pacing is controlled by sensed atrial beats are desirable because they allow the pacing to track the physiologically normal atrial rhythm, which then causes cardiac output to be responsive to the metabolic needs of the body. Atrial triggered modes are contraindicated, however, in patients prone to atrial fibrillation or flutter or in whom a reliable atrial sense cannot be obtained. In pacemaker patients who are chronotropically incompetent (e.g., sinus node dysfunction) or in whom atrial triggered modes are contraindicated, the heart rate is dictated solely by the pacing rate of the pacemaker in the absence of faster intrinsic cardiac activity.

Pacing the heart either asynchronously at a fixed rate or synchronously at a rate determined by the LRL setting of the pacemaker, however, does not allow the heart rate to increase with increased metabolic demand. If the heart is paced at a constant rate, severe limitations are imposed upon the patient with respect to lifestyle and activities. It is to overcome these limitations and improve the quality of life of such patients that rate-adaptive pacemakers have been developed. Such pacemakers are rate-controlled in accordance with a measured physiological variable that corresponds to exertion level and is indirectly reflective of the body's metabolic rate. The measured exertion level is mapped to a particular target heart rate by a specified rate-response factor, the inverse of the target rate then being used as the escape interval for atrial or ventricular pacing. Minute ventilation is the amount of air breathed by a subject over a minute or other specified period of time and can be computed as the product of respiratory rate and tidal volume. Minute ventilation is a good indicator of the rate of oxygen consumption and hence is one of the best measurements of a patient's exertion level.

Rate-adaptive pacemakers may use an impedance technique for measuring minute ventilation. The blood and body fluids within the thoracic cavity constitute a volume conductor, and the electrical impedance between any two points in the thoracic cavity is dependent upon the volume of blood and/or air between the two points. The impedance can be measured by impressing a constant current field within the cavity and then measuring the potential difference between the two points. By appropriate placement of voltage sensing electrodes, an impedance signal can be produced that corresponds to the movement of air into and out of the lungs as a subject breathes. Thus, in order to measure minute ventilation, a constant excitation current may be made to flow between two excitation current electrodes located within the thoracic cavity, and the voltage difference between two appropriately located voltage sense electrodes in the cavity is measured. The resulting impedance signal varies in accordance with the subject's ventilation, and the minute ventilation can be derived therefrom. In order to conserve energy and avoid undesirable cardiac stimulation, the excitation current is injected as short current pulses of limited amplitude so that the impedance signal is a discrete time signal. Interference with this impedance signal by environmental noise, however, can compromise the ability of the impedance measurement to accurately reflect the patient's actual ventilation. This problem is a primary concern of the present invention.

SUMMARY

The present invention relates to an apparatus and method for minute ventilation sensing in which the minute ventilation excitation and/or sensing channel is automatically configurable in accordance with noise and/or signal amplitude measurements. The excitation channel includes a pair of excitation current electrodes through which is supplied an excitation current waveform at a specified frequency and amplitude. The sensing channel includes a pair of voltage sense electrodes which generate a voltage sense signal corresponding to a potential difference between two points in the thoracic cavity while the excitation current waveform is supplied through the excitation channel. The voltage sense signal is then sampled during the excitation waveform at a specified sampling rate that corresponds to the excitation frequency. A ventilation signal from which can be derived a signal proportional to minute ventilation is produced by demodulating and filtering the voltage sense signal samples. A plurality of selectable excitation and voltage sense electrodes are provided so that the device may configure its excitation and sensing channels in order to minimize received noise and/or increase the amplitude of the received signal. In an exemplary embodiment, the device is programmed to perform an electrode configuration procedure by sequentially selecting particular excitation and sensing electrode configurations from available configurations and measuring an average noise and signal level for each such configuration. The configuration with the highest signal-to-noise ratio may then be selected for use by the device during normal operation. Other embodiments may reconfigure only the sensing or excitation electrodes in accordance with measured noise and/or signal levels.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 shows an example of an impedance signal.

FIG. 2 is a diagram of exemplary functional circuitry for deriving minute ventilation from an impedance signal.

FIG. 3 illustrates an exemplary cardiac rhythm management device according to the present invention.

FIG. 4 is illustrates the components of an exemplary exciter for delivering electrical excitation current.

FIG. 5 illustrates a current waveform resulting from operation of an exciter according to one embodiment of the invention.

FIG. 6A is a block diagram illustrating one embodiment of a signal processor.

FIG. 6B is a block diagram illustrating an embodiment of a completely digital signal processor.

FIG. 7 is a schematic diagram illustrating one embodiment of a demodulator.

FIG. 8 is a diagram of a cardiac rhythm management device with selectable configurations of excitation and sensing electrodes.

FIG. 9 is a flowchart of an exemplary algorithm for configuring the excitation and sensing channels in accordance with detected noise and signal levels.

DETAILED DESCRIPTION

The present invention is a device and method for reducing the effects of external noise upon minute ventilation sensing. It may be applied in any type of apparatus utilizing impedance measurement as a technique for sensing minute ventilation, including cardiac pacemakers. The invention may be incorporated into a number of minute ventilation sensing systems, a particular one of which is described in U.S. Pat. No. 6,161,042 (referred to herein as the '042 patent), assigned to the assignee of the present application and hereby incorporated by reference in its entirety.

1. Minute Ventilation Sensing by Impedance Measurement

As noted above, the electrical impedance of a conductive path between two points that includes part of the thoracic cavity varies in accordance with a subject's respiration. If the voltage between two voltage sense electrodes in the thoracic cavity were measured while a constant excitation current flows between two current source electrodes, a voltage signal corresponding to the impedance between the sense electrodes would be produced. FIG. 1 shows such a transthoracic impedance signal IS that represents the time-varying impedance between the two sense electrodes while the subject breathes as would be generated by a continuous (i.e., DC) constant excitation current. However, it is preferable to inject the excitation current in the form of a pulse train with narrow pulse-widths in order to conserve battery energy. The impedance signal produced at the voltage sense electrodes is then a pulse train at the excitation frequency that is amplitude-modulated by the impedance signal IS. The resulting signal can also be regarded as a discrete-time impedance signal IS′ with each signal value representing samples of the continuous impedance signal IS taken at a sampling rate equal to the excitation frequency.

Before deriving the minute ventilation, the impedance signal is filtered to remove both low and high frequency components. The impedance signal thus filtered will be referred to as the ventilation signal. The low frequency components of the impedance signal include both a zero frequency or DC voltage that represents the impedance at full expiration and lower frequency voltages that represent impedance changes due to the slow changes in residual volume of the lungs that occur as the subject alternates between deep and shallow breathing. The high frequency components of the impedance signal include both voltages representing impedance changes resulting from the changes in ventricular blood volume as the heart beats and voltages caused by additional current fields produced from external noise sources. These components can be removed with a bandpass filter or a combination of low-pass and high-pass filtering. Exemplary lower and upper cutoff frequencies for such filtering could be on the order of 0.1 and 1 Hz, respectively, which thus define a ventilation band in which the ventilation signal is found. After filtering the impedance signal to remove the unwanted frequency components, the resulting ventilation signal is directly reflective of the movement of air into and out of the lungs. The minute ventilation can then be derived from the ventilation signal by a number of different methods. For example, the signal can be filtered to derive both a respiratory rate and an average tidal volume, the product of which is the minute ventilation. Alternatively, successive peak-to-peak transitions of the signal, each of which represents the quantity of air inspired during a breath, can be summed over a specified period of time to result in a minute ventilation value.

The impedance signal can be processed in either the analog or digital domain or with a combination of digital and analog processing in order to compute the minute ventilation. For example, the discrete time signal IS′ generated by the voltage sense electrodes when excitatory current pulses are output can be low-pass filtered to remove the pulse train carrier waveform. The resulting analog waveform can then be further filtered to derive the ventilation signal as described above. The additional filtering can be performed in the analog domain, or the analog signal can be sampled and converted into a digital signal that can be processed in the digital domain. Alternatively, the values of the discrete time signal IS′, which correspond to measurements of the voltage between the voltage sense electrodes during an excitation current pulse, can be digitized and processed entirely in the digital domain. FIG. 2 is a block diagram showing one example of how the impedance signal IS′ may be further processed either in the analog or digital (by means of the Analog to Digital Converter 101) domain to derive the minute ventilation. A digital bandpass filter 102 (or, equivalently, a combination of low and high pass filters) filters the impedance signal IS′ to generate the ventilation signal VS. A peak-to-peak transition filter 103 then derives successive amplitudes of peak-to-peak transitions of the VS waveform that represent inspirations. Each such peak-to-peak transition amplitude is proportional to the tidal volume during a single breath. The successive peak-to-peak transition amplitudes are then filtered by a moving average filter 104 with a specified averaging period to derive a signal proportional to the minute ventilation.

2 Exemplary System Description

FIG. 3 is a schematic/block diagram illustrating one embodiment of a cardiac rhythm management system 100 according to the present invention. The illustrated system includes a cardiac rhythm management device 105 and a lead 110 for communicating voltage signals between device 105 and electrodes disposed near or in the heart 115. Device 105 may be, for example, a pacemaker capable of delivering bradycardia pacing and, in addition, anti-tachycardia pacing, cardioversion/defibrillation, drug delivery, or other therapy to heart 115. The device 105 includes a controller 165 which may be made up of discrete circuit elements but is preferably a processing element such as a microprocessor. The controller controls the delivery of stimulation to the heart via therapy circuit 170, processes signals reflecting cardiac activity from sense amplifiers 175, and processes impedance measurement signals from signal processor 155. As described above, the impedance measurement signals are used to derive a minute ventilation signal that is used to modulate the pacing rate during bradycardia pacing. Also interfaced to the controller 165 is a telemetry transceiver 185 capable of communicating with an external programmer 190.

Cardiac rhythm management devices may be external to the patient but are usually implanted in a pectoral or abdominal region with one or more leads threaded through the upper venous system to reach the heart. FIG. 3 shows tip electrode 120 and ring electrode 125 separately coupled to device 105 via conductors within multiconductor lead 110. The device 105 includes a hermetically sealed housing 130, formed from a conductive metal, such as titanium. Housing 130 (also referred to as a “case” or “can”) may be substantially covered over its entire surface by a suitable insulator, such as silicone rubber, except for at a window that forms a third electrode, referred to as a “case” or “can” electrode 135. A header 140 is mounted on housing 130 for receiving lead 110. The header may be formed of an insulative material, such as molded plastic and also includes a fourth electrode, referred to as indifferent electrode 145. A device may have one or multiple leads with electrodes disposed in the right atrium or ventricle or in a cardiac vein for sensing cardiac activity and/or delivering electrical stimulation to the heart. For example, the tip and ring electrodes may be used together by the therapy circuit (i.e., pacing pulse generator) 170 and/or sense amplifiers 175 for bipolar pacing/sensing of the heart or in combination with the case or indifferent electrode for unipolar pacing/sensing. Of primary interest here, however, are electrodes used for delivering excitation current to the thorax and for sensing an impedance signal resulting from the current field. Such electrodes may be the same electrodes used for delivering therapy or may be separate electrodes.

Device 105 includes an exciter 150 for delivering excitation current between a selected pair of excitation current electrodes. A current field is thus imposed in the thoracic cavity so that the potential difference between a selected pair of voltage sense electrodes, also located within the thoracic cavity, will be proportional to the impedance between the electrodes. In FIG. 3, the excitation current electrodes are the ring electrode 125 and case electrode 135, shown as connected to the exciter 150. The voltage sense electrodes are the tip electrode 120 and the indifferent electrode 145, shown as electrically connected to the signal processor 155. Thus, in this embodiment, the excitation current electrodes are different from the voltage sense electrodes which advantageously reduces the magnitude of the baseline component of the transthoracic impedance signal, thereby increasing the relative contribution of the ventilation component of the transthoracic impedance signal, and increasing the signal-to-noise ratio (SNR). Alternatively, the same electrodes could be used for delivering the excitation current and sensing the voltage induced thereby. Owing to the different locations and operating characteristics, different combinations of these or other electrodes as the excitation current and voltage sensing electrodes may produce better signal levels with less noise than other combinations. As explained below with reference to FIG. 8, the device is therefore equipped with selectable excitation current and voltage sensing electrodes so that the optimum configuration may be selected for use during normal operation.

Exciter and Excitation Current Waveform

FIG. 4 is a schematic diagram illustrating one embodiment of particular elements included within exciter 150 for delivering excitation current in the form of a carrier waveform that is modulated by transthoracic impedance changes. A bridge switcher 200 includes switches 200A, 200B, 200C, and 200D that may be implemented as transistors, such as p-channel metal-oxide semiconductor (PMOS) field-effect transistors (FETs) or any other suitable switches. The exciter 150 also includes current source 205 and current sink 210, each of which may be implemented with transistors in a regulated cascode or other suitable configuration. Switcher 200 is electrically coupled to case electrode 135 and ring electrode 125 through respective dc blocking capacitors 215A and 215B and respective switches 220A and 220B (e.g., PMOS transistors). Switches 225A and 225B (e.g., PMOS transistors) precharge respective capacitors 215A and 215B. Exciter 150 also includes a clock circuit 230 that receives one or more control signals from controller 165 and provides signals to the control terminals of each of switches 200A-D, 220A-B, and 225A-B. The control signals from the controller 165 to the clock circuit cause the exciter to output a bipolar excitation waveform at a specified excitation frequency and for a specified duration. As explained below, in a preferred embodiment, the excitation waveform is output in the form of a strobe made up of a specified number of excitation current waveform cycles with each strobe repeated at a specified strobing frequency.

FIG. 5 illustrates an exemplary excitation current waveform 300 as may be generated by exciter 150 between case electrode 135 and ring electrode 125 in a particular embodiment. Waveform 300 is a multiphase stimulus that is a bipolar square wave strobe made up of four current pulses 301, 302, 303, and 304 in sequentially alternating polarity/direction, each current pulse being a phase of the multiphase stimulus. In the embodiment illustrated in FIG. 5, pulses 301-304 form a square wave having a carrier frequency of approximately 25 kilohertz where each pulse has a duration of 20 microseconds. Also in this embodiment, the four pulse sequence 301-304 is repeated at a strobing frequency of approximately 20 Hertz (i.e., a 50 millisecond time interval). Other suitable durations of current pulses 301-304 could also be used to result in a different carrier frequency, and other suitable strobing frequencies could be used. As explained in more detail below, the voltage sense signal waveform may be sampled during each phase (i.e., during each current pulse 301, 302, 303, and 304) of a strobe so that the sampling rate is twice the excitation frequency. Other embodiments may employ a sampling rate that is differently related to the excitation frequency. The samples of each strobe are then filtered by a demodulator that computes a weighted average of the samples with specified filter coefficients. As explained below, due to the bipolar nature of the excitation current waveform, the demodulator has the effect of filtering out components of the voltage sense signal due to external fields while averaging the impedance signal component of the voltage sense signal. The demodulated voltage sense signal samples thus constitute samples of the impedance signal at a sampling rate equal to the strobing frequency. The strobing frequency should therefore be sufficiently high so as to provide adequate sampling of ventilation or other information carried by the transthoracic impedance signal contained within the voltage sense signal. Such ventilation information can appear at frequencies as high as approximately 1 Hertz, depending on the patient's breathing rate. The strobing frequency should also minimize aliasing of a “stroke volume” component of the impedance signal (i.e., a portion of the transthoracic impedance signal that varies along with the patient's heartbeat instead of the patient's breathing rate) and which can have frequencies as high as approximately 3 Hertz, depending on the patient's heart rate. In order to avoid aliasing the stroke volume component of the impedance signal into the ventilation band, the strobing frequency should be at least twice the highest frequency component expected to be in the impedance signal in accordance with the Nyquist criterion.

The amplitude of current pulses 301-304 is controlled by the controller 165 and is preferably set at some minimum value that provides enough excitation to obtain an adequate voltage response signal while minimizing current drain of the implanted device 105, thereby increasing its implanted longevity. The amplitude of the excitation current pulses should also be minimized in order to prevent unwanted cardiac stimulation and to prevent false sensing of the pulses by the sensing channels of the device where the current pulses are misinterpreted as cardiac activity. For example, in one embodiment, the amplitude of the current pulses 301-304 is selected to be approximately 320 microampere, but other current pulse amplitudes may also be employed. As explained below, the current pulse amplitude may be adjusted by the controller 165 in accordance with a detected noise level so as to maintain an adequate signal-to-noise ratio.

Prior to each sequence of current pulses 301-304, dc blocking capacitors 215A-B are precharged by a bias circuit, such as by turning on switches 200A-D and 225A-B, with switches 220A-B being off. Current source 205 and current sink 210 establish the operating point of a terminal of each of dc blocking capacitors 215A-B that is coupled to switcher 200. After precharging, switches 225A-B are turned off. Next, pulse 301 is produced by turning on switches 200A, 200D, and 220A-B, such that current delivered by current source 205 leaves case electrode 135. The current returns through ring electrode 125, and is sunk by current sink 210. Next, pulse 302 is produced by turning on switches 200B-C and 220A-B, such that current delivered by current source 205 leaves ring electrode 125. The current returns through case electrode 135, and is sunk by current sink 210. Next, pulse 303 is produced by again turning on switches 200A, 200D, and 220A-B, such that current delivered by current source 205 leaves case electrode 135. The current returns through ring electrode 125, and is sunk by current sink 210. Next, pulse 304 is produced by again turning on switches 200B-C and 220A-B, such that current delivered by current source 205 leaves ring electrode 125. The current returns through case electrode 135, and is sunk by current sink 210. Switches 220A-B, 200A-D, and 225A-B are turned off until precharging for another four current pulse sequence 301-304, which is delivered approximately 50 milliseconds later in the embodiment illustrated in FIG. 5. Preferably, clock circuit 230 provides non-overlapping control signals to switches 225A-B and switches 220A-B so that switches 225A-B are not turned on at the same time as switches 220A-B. This avoids any coupling of either of case electrode 135 and ring electrode 125 to the positive power supply voltage V_(DD).

Signal Processor

FIG. 6A is a block diagram illustrating one embodiment of portions of signal processor 155. Signal processor 155 includes analog signal processing circuit 400 and digital signal processing circuit 405. Inputs of a preamplifier 410 of analog signal processing circuit 400 are electrically coupled to each of indifferent electrode 145 and tip electrode 120 for receiving a voltage sense signal in response to the above-described stimuli provided by exciter 150. An exemplary preamplifier is described in detail in the '042 patent, particularly with reference to FIG. 5 of that document. Analog signal processing circuit 400 also includes demodulator 415 that samples the analog output of preamplifier 410 and provides an output signal received by analog-to-digital (A/D) converter 425. An output signal from A/D converter 425 is received at highpass filter 430, and an output signal from highpass filter 430 is received by adaptive lowpass filter 435. Minute ventilation calculation module 440 receives an output signal from adaptive lowpass filter 435, and provides a calculated minute ventilation signal at node 160 to controller 165.

FIG. 6B shows another embodiment of the signal processor in which the analog processing circuit is made up of preamplifier 410 and A/D converter 425, with the functionality of the demodulator 415 being moved to the digital processing circuit. In this embodiment, the voltage sense signal is digitized immediately after preamplification, and the demodulator 415 is a digital filter. In either of the embodiments shown in FIG. 6A or 6B, the digital signal processing circuit 405 may be implemented as coded instructions executed by controller 165 or as separately implemented hardware portions dedicated to performing the digital signal processing tasks described below.

Demodulator

The demodulator portion of the signal processor removes the excitation current waveform from the voltage sense signal samples of each strobe by low-pass filtering of the voltage sense signal samples. As explained more fully below, a discrete-time low-pass filter will have the further advantageous effect of high-pass filtering external field noise from the voltage sense signals due to the bipolar nature of the excitation current waveform.

As shown in FIGS. 6A and 6B, the demodulator 415 may be implemented in either the digital or analog domain. In FIG. 6A, the analog demodulator 415 includes sampling circuitry for converting the output of the preamplifier into a discrete-time analog signal. In FIG. 6B, on the other hand, the analog-to-digital converter 425 includes circuitry for both sampling and digitizing the output of the preamplifier, the digitized voltage sense signal then being input to the digital demodulator 415. In either case, the sampling is synchronized to the excitation current waveform. Thus, referring to FIG. 5, the output of preamplifier 410 is sampled some time during each of current pulses 301-304. Demodulator 415 then combines these four samples into a single value using a weighted average to effect both low-pass filtering of the impedance signal and high-pass filtering of external field noise.

In one embodiment, the demodulator filter is a finite impulse responses filter that computes a weighted average of the strobe samples. The weighted average is formed by weighting the second and third samples, obtained from respective current pulses 302 and 303, by a factor of approximately 3.0 relative to the first and fourth samples, obtained from respective current pulses 301 and 304. A transfer function representing this embodiment of demodulator 415 is described in the z-domain as: H(z)=K(z ⁻³−3z ⁻²+3z ⁻¹−1) where K is a gain associated with the filtering. In a digital demodulator 415, the transfer function can be implemented directly as code. The transfer function can be implemented in one embodiment of an analog demodulator as a switched capacitor circuit that also performs a sampling function.

FIG. 7 is a schematic diagram illustrating one embodiment of a switched-capacitor analog demodulator 415. The output signal from preamplifier 410 is sampled onto capacitors 600A-B in response to current pulse 301, onto capacitors 605A-B in response to current pulse 302, onto capacitors 610A-B in response to current pulse 303, and onto capacitors 615A-B in response to current pulse 304. Sampling onto the capacitors is effected by closure of solid-state sampling switches in response to switch-closure inputs Ø₁ through Ø₄ that correspond to the phase of the excitation current waveform during which the switch is closed, 301 through 304, respectively. The switch-closure inputs are generated, for example, by a clock circuit synchronized with the exciter 150. Capacitors 605A-B and 610A-B provide 3 times the capacitance value of capacitors 600A-B and 615A-B, in order to provide the above-described weighting of the samples. After the weighted sampling of the output of preamplifier 410 in response to the four current pulses 301-304, these weighted samples are summed by switched-capacitor integrator 620 (also referred to as a summer).

Also shown in FIG. 7 are dummy capacitors 625A-B. Each of dummy capacitors 625A-B has a capacitance value that is twice that of one of capacitors 600A-B, and twice that of one of capacitors 615A-B. Dummy capacitors 625A-B are switched in during sample of current pulses 301 and 304. As a result, demodulator 415 presents the same load capacitance to preamplifier 410 during sampling of each of the four current pulses 301-304. As seen in FIG. 7, however, the charge that is sampled onto dummy capacitors 625A-B is not included in the weighted sample (i.e., the resulting charge is not included in the integration provided by integrator 620). Furthermore, it is understood that, in one embodiment, the capacitors shown in FIG. 7 are initialized (e.g., discharged) prior to sampling any particular sequence of current pulses 301-304.

Integrator 620 also includes input capacitors 650 and 655, which are autozeroed by switches, as illustrated, during the clock phase φ_(AZ). An integration capacitor 660, which is in the feedback path around operational amplifier 665, sums the weighted samples obtained in response to the four current pulses 301-304 during an integration clock phase φ₁. A noise sampling/integration capacitor 630, which is also in the feedback path around operational amplifier 665, may be used instead to sum the weighted samples obtained in the absence of delivered current pulses during a noise integration clock phase φ_(N1), as described below. Integrator 620 also provides a matching network 670 on the other input of operational amplifier 665 for matching the above-described switched capacitor operation.

Analog-to-Digital (A/D) Converter

A/D converter 425 receives the output signal of demodulator 415 and provides a resulting digitized output signal to highpass filter 430 of digital signal processing circuit 405. In one embodiment, A/D converter 425 is implemented as an 8-bit, successive approximation type switched-capacitor A/D converter having an input range of approximately 1 Volt. According to one aspect of the invention, A/D converter 425 provides one 8-bit digital word corresponding to each sequence of four current pulses 301-304 delivered by exciter 150. Many different implementations of A/D converter 425 will be suitable for use in the present invention, including different A/D converter resolutions.

Digital Signal Processing Circuit

The digital processing circuit filters the highpass-filtered and demodulated voltage sense signal samples into the ventilation band to derive a ventilation signal. Such filtering may be accomplished by a bandpass filter or a combination of highpass and lowpass filters as shown in FIGS. 6A and 6B. In one particular embodiment, highpass filter 430 is a single-pole infinite impulse response (IIR) digital filter that receives the 8-bit digital output signal from A/D converter 425, removing frequency components below its highpass cutoff frequency of approximately 0.1 Hz. Many other different embodiments of highpass filter 430 would also be suitable. Highpass filter 430 advantageously further attenuates not only baseline dc components of the transthoracic impedance but also any dc offset voltages created by A/D converter 425. The output of highpass filter 430 is provided to lowpass filter 435. Lowpass filter 435 receives the output signal of highpass filter 430 and attenuates frequency components of the signal that exceed the lowpass cutoff frequency of lowpass filter 435. The signal components attenuated by the lowpass filter 435 include the cardiac stroke signal, resulting from changes in blood volume in heart 115 as it contracts during each cardiac cycle.

3. Automatic Configuration of Minute Ventilation Sensing Electrodes

The voltage signals generated at the voltage sensing electrodes can be degraded by noise produced by internal or external sources and by loss of signal amplitude. If the degradation in signal quality is not corrected, the minute ventilation that is derived from the impedance signal will not accurately reflect the subject's true exertion level and the pacing rate will not be adjusted correctly. Certain configurations of electrodes used for injecting excitation current and generating voltage sense signals may perform better than others due to both the location and operating characteristics of the electrodes. Accordingly, the present invention provides for a minute ventilation sensing device in which the excitation current and voltage sensing electrodes may be selected for use in normal operation from a plurality of selectable electrodes in accordance with measured noise and/or signal levels.

FIG. 8 shows the functional components of the cardiac rhythm management device depicted in FIG. 3 to which has been added the capability of reconfiguring the electrodes used for sensing/pacing and for minute ventilation sensing through a MOS switching matrix 70. The switching matrix 70 is controlled by the controller 165 and switchably connects the electrodes to selected sensing/pacing or minute ventilation sensing channels accordingly. Two sensing/pacing channels are provided which may be configured, for example, as separate atrial and ventricular channels. The sensing/pacing channels are designated as “a” or “b,” and their components include channel interfaces 171 a and 171 b, sensing amplifiers 175 a and 175 b, and pulse generators 170 a and 170 b. An example electrode configuration for bipolar sensing/pacing would connect tip and ring electrodes 120 a and 125 a to the “a” channel and connect tip and ring electrodes 120 b and 125 b to the “b” channel. The switching matrix 70 also allows any arbitrary configurations of the electrodes to be used with a sensing/pacing channel including configurations for unipolar sensing/pacing that utilize either the can electrode 135 or the indifferent electrode 145. Of primary interest here, however, is the capability of the device for switching between different electrode configurations for minute ventilation sensing. The components of the minute ventilation sensor include exciter 150 and signal processor 155 which may be connected to any of the available electrodes by the switching matrix 70. For example, similar to the electrode configuration discussed above with reference to FIG. 3, the exciter 150 may be connected to the indifferent electrode 135 and ring electrode 125 a serving as the excitation current electrodes, while the signal processor 155 may be connected to can electrode 145 and tip electrode 120 a serving as the voltage sense electrodes. Under directions from the controller 165, the switching matrix 70 may instead utilize ring electrode 125 b and tip electrode 120 b as the excitation current and voltage sense electrodes, respectively. Because the tip and ring electrodes of each separate lead may be disposed in different locations when the device is implanted (e.g., one in the ventricles and the other in the atria), the performance of the electrodes in sensing minute ventilation may vary. Accordingly, as explained below, the device is programmed to measure noise and signal levels of selected minute ventilation electrode configurations so that the optimum configuration may be used in normal operation.

A noise detection operation involves processing a voltage sense signal when no excitation current is applied so that only external field noise is picked up by the voltage sense electrodes to generate a received noise signal. The received noise signal reflects the noise arising from external sources (e.g., heart signals or any environmental noise sources) as well as internal noise produced by the circuitry of the device. In the embodiment shown in FIGS. 6A and 7, the analog demodulator 415 performs a noise detection operation by sampling the output of preamplifier 410 when no excitation current pulses are output. In normal operation, demodulator 415 samples the output of amplifier 410 in response to current pulses 301-304 provided by exciter 150. During a noise detection operation, however, exciter 150 is turned off and current pulses 301-304 are not provided. Switch-closure inputs Ø₁ through Ø₄, instead of being synchronized with the excitation pulses, are then independently generated to sample the output of preamplifier 410 at a specified noise sampling rate. In the digital embodiment of FIG. 6B, the analog-to-digital converter 425 is made to sample the preamplifier output at the specified noise sampling rate. If the noise sampling rate is made equal to the sampling rate used during normal operation, the received noise signal will reflect the same noise that would be added to the impedance signal during normal operation with excitation current. In another embodiment, the received noise signal from the demodulator may be further processed in the same manner as a voltage sense signal during normal operation so that the noise signal is filtered into the ventilation band. The noise level is than detected from this filtered signal in order to reflect the actual noise that adds to the ventilation signal.

As shown in FIG. 7, the output of the demodulator is fed to a comparator 635 which compares the average noise level with a reference value and transmits to the controller an indication whether the reference value is exceeded. The controller may also vary the reference value of the comparator in order to measure the average signal level. When excitation current is supplied, the comparator may similarly be used to determine if the average signal level exceeds a reference value and/or measure the average signal level. Such measurements of noise and/or signal levels may be initiated by the controller either periodically or upon receiving a command from an external programmer. In an exemplary embodiment, the controller determines if the noise level exceeds a threshold value for the currently selected electrode configuration. If so, the controller proceeds to test other possible electrode configurations so that the optimum configuration may be selected.

An exemplary algorithm for configuring the voltage sense and/or excitation electrodes of a minute ventilation sensor in accordance with a detected noise and/or signal level as may be performed by the controller 165 is illustrated in FIG. 9. The controller initiates a configuration procedure at step S1 by selecting a first configuration of minute ventilation sensing electrodes (i.e., sensing or excitation electrodes) among a plurality of such electrode configurations. An average signal level while excitation current is supplied for that configuration is then computed at step S2. At step S3, a noise detection operation is performed with no excitation current using a noise sampling rate equal to the sampling rate used in normal operation with the presently selected excitation frequency, and an average noise level is then computed. Steps S2 and S3 are repeated for a next electrode configuration selected at step S7 until average noise and signal levels are computed for all available electrode configurations as tested for at step S4. At step S5, the electrode configuration with the highest signal-to-noise ratio is selected for use by the device. At step S6, the signal-to-noise ratio for the selected electrode configuration is compared with a specified threshold value. If the ratio is below the threshold value, minute ventilation sensing is suspended at step S8 until the next configuration procedure is performed. Otherwise, normal operation is resumed with the selected electrode configuration.

Although the invention has been described in conjunction with the foregoing specific embodiments, many alternatives, variations, and modifications will be apparent to those of ordinary skill in the art. Such alternatives, variations, and modifications are intended to fall within the scope of the following appended claims. 

1. A minute ventilation sensing device, comprising: excitation current electrodes for imposing a current field in the thoracic cavity; an exciter for supplying excitation current as an excitation current waveform at a specified excitation frequency and amplitude between the excitation current electrodes; a plurality of selectable voltage sense electrodes for generating a voltage sense signal corresponding to a potential difference between two points in the thoracic cavity; sampling circuitry for sampling the voltage sense signal during the excitation waveform at a specified sampling rate that corresponds to the excitation frequency; circuitry for demodulating and filtering the voltage sense signal samples into a ventilation band to thereby generate a ventilation signal; circuitry for deriving a signal proportional to minute ventilation from the ventilation signal; circuitry for detecting noise when no excitation current is supplied by filtering the voltage sense signal when no excitation current is supplied into the ventilation band and for computing an average noise level; a switch matrix with the capability of switching between different voltage sense electrode configurations; circuitry for operating the switch matrix to sequentially test the average noise level of a plurality of voltage sense electrode configurations.
 2. The device of claim 1 further comprising: circuitry for computing an average signal level from the voltage sense electrodes; and, circuitry for testing the signal-to-noise ratio of the plurality of voltage sense electrode configuration.
 3. The device of claim 2 further comprising: a plurality of excitation current electrodes, wherein the switch matrix has the capability of switching between different configurations of the plurality of excitation current electrodes; and, circuitry for operating the switch matrix to sequentially test the signal-to-noise ratio of a plurality of voltage sense electrode and excitation current electrode configurations.
 4. The device of claim 1 wherein the circuitry for demodulating the voltage sense signal samples generates a weighted average of the voltage sense signal samples with a filter coefficient for each sample that is positive or negative in accordance with the polarity of the excitation current waveform.
 5. The device of claim 1 wherein the excitation current waveform is output as a strobe made up of a specified number of excitation current waveform cycles with each strobe repeated at a specified strobing frequency.
 6. The device of claim 1 wherein the noise detecting circuitry filters the voltage sense signal samples with filter coefficients equal to the filter coefficients used by the demodulating circuitry for filtering the voltage sense signal samples of the excitation current waveform.
 7. A cardiac rhythm management device, comprising: a sensing channel for detecting intrinsic cardiac activity; a pacing channel for pacing the heart; a controller for delivering paces in accordance with a programmed mode as modulated by a minute ventilation sensor; a minute ventilation sensor, comprising: excitation current electrodes for imposing a current field in the thoracic cavity; an exciter for supplying excitation current as an excitation current waveform at a specified excitation frequency and amplitude between the excitation current electrodes; a plurality of selectable voltage sense electrodes for generating a voltage sense signal corresponding to a potential difference between two points in the thoracic cavity; sampling circuitry for sampling the voltage sense signal during the excitation waveform at a specified sampling rate that corresponds to the excitation frequency; circuitry for demodulating and filtering the voltage sense signal samples into a ventilation band to thereby generate a ventilation signal; circuitry for deriving a signal proportional to minute ventilation from the ventilation signal; a switch matrix with the capability of switching between different voltage sense electrode configurations; circuitry for detecting noise when no excitation current is supplied by filtering the voltage sense signal when no excitation current is supplied into the ventilation band and for computing an average noise level; and, circuitry for operating the switch matrix to sequentially test the average noise level of a plurality of voltage sense electrode configurations.
 8. The device of claim 7 further comprising: circuitry for computing an average signal level from the voltage sense electrodes; and, circuitry for testing the signal-to-noise ratio of the plurality of voltage sense electrode configuration.
 9. The device of claim 8 further comprising: a plurality of excitation current electrodes, wherein the switch matrix has the capability of switching between different configurations of the plurality of excitation current electrodes; and, circuitry for operating the switch matrix to sequentially test the signal-to-noise ratio of a plurality of voltage sense electrode and excitation current electrode configurations.
 10. The device of claim 9 wherein the plurality of excitation current electrodes includes tip and ring electrodes of a plurality of sensing/pacing leads.
 11. The device of claim 7 wherein the plurality of voltage sense electrodes includes a tip or ring electrode of a sensing/pacing lead and an indifferent electrode located on a header of the device.
 12. The device of claim 7 wherein the plurality of voltage sense electrodes includes a tip or ring electrode of a sensing/pacing lead and an indifferent electrode located on a header of the device and further wherein the plurality of selectable excitation current electrodes includes a tip or ring electrode of a sensing/pacing lead and a conductive housing of the device.
 13. The device of claim 7 wherein the circuitry for demodulating the voltage sense signal samples generates a weighted average of the voltage sense signal samples with a filter coefficient for each sample that is positive or negative in accordance with the polarity of the excitation current waveform.
 14. The device of claim 13 wherein the excitation current waveform is output as a strobe made up of a specified number of excitation current waveform cycles with each strobe repeated at a specified strobing frequency.
 15. The device of claim 13 wherein the noise detecting circuitry filters the voltage sense signal samples with filter coefficients equal to the filter coefficients used by the demodulating circuitry for filtering the voltage sense signal samples of the excitation current waveform.
 16. A method for operating a minute ventilation sensing device, comprising: imposing a current field in the thoracic cavity as an excitation current waveform at a specified excitation frequency and amplitude; generating a voltage sense signal corresponding to a potential difference between two points in the thoracic cavity; sampling the voltage sense signal during the excitation waveform at a sampling rate that corresponds to the excitation frequency; demodulating and filtering the voltage sense signal samples into a ventilation band to thereby generate a ventilation signal; deriving a signal proportional to minute ventilation from the ventilation signal; detecting noise in the voltage sense signal by filtering the voltage sense signal when no excitation current is supplied into the ventilation band and computing an average noise level; and, detecting noise in the voltage sense signal for a plurality of voltage sense electrode configurations by filtering the voltage sense signal when no excitation current is supplied into the ventilation band and computing an average noise level.
 17. The method of claim 16 further comprising: demodulating the voltage sense signal samples by generating a weighted average of the voltage sense signal samples with a filter coefficient for each sample that is positive or negative in accordance with the polarity of the excitation current waveform; and, detecting noise by filtering the voltage sense signal samples with filter coefficients equal to the filter coefficients used to demodulate the voltage sense signal samples of the excitation current waveform.
 18. The method of claim 16 wherein the excitation current waveform is output as a strobe made up of a specified number of excitation current waveform cycles with each strobe repeated at a specified strobing frequency. 